<f:view
		xmlns="http://www.w3.org/1999/xhtml"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:a4j="http://richfaces.org/a4j"
		xmlns:rich="http://richfaces.org/rich"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:itdep="http://itdep.bsuir.by/jsf"
		>
	<ui:decorate template="/facelets/template/mainTemplate.xhtml">
		<ui:define name="title">
			<h:outputText value="#{dictionaryBundle.college}"/>
		</ui:define>
		<ui:define name="center">
			<ui:decorate template="/facelets/template/centerTemplate.xhtml">
				<ui:define name="content">
					<ui:decorate template="/facelets/template/tableTemplate.xhtml">
						<ui:param name="actionBean" value="#{collegeDictionaryBean}"/>
						<ui:param name="idPrefix" value="collegeDic"/>

						<ui:define name="editPanelContext">
							<ui:decorate template="/facelets/template/student/collegeInfoTemplate.xhtml">
								<ui:param name="record" value="#{collegeDictionaryBean.record}"/>
							</ui:decorate>
						</ui:define>

						<ui:define name="tableContext">
							<rich:column width="1%">
								<f:facet name="header">
									<h:outputText value="#{dictionaryBundle.collegeType}"/>
								</f:facet>
								<itdep:entityOutput value="#{record.collegeType}" format="{i18n.description}"
													locale="#{translationBean.locale}"/>
							</rich:column>
							<rich:column width="31%">
								<f:facet name="header">
									<h:outputText
											value="#{commonBundle.fullName} (#{actionBean.translationBean.locale})"/>
								</f:facet>
								<itdep:entityOutput value="#{record}" format="{i18n.fullName}"
													locale="#{translationBean.locale}"/>
							</rich:column>
							<rich:column>
								<f:facet name="header">
									<h:outputText
											value="#{commonBundle.shortName} (#{actionBean.translationBean.locale})"/>
								</f:facet>
								<itdep:entityOutput value="#{record}" format="{i18n.shortName}"
													locale="#{translationBean.locale}"/>
							</rich:column>
							<rich:column>
								<f:facet name="header">
									<h:outputText value="#{addressBundle.city}"/>
								</f:facet>
								<h:outputText value="#{record.city.name}"/>
							</rich:column>
						</ui:define>

					</ui:decorate>
				</ui:define>
			</ui:decorate>
		</ui:define>
	</ui:decorate>
</f:view>
